

# epoll-ether-rdma: epoll-ether-rdma.cc
# 	g++ --static -std=c++11 -O2 -o $@.ELF $< 
	

# ether-echo: ether-echo.cc
# 	g++ --static -std=c++11 -O2 -o $@.ELF $< 

epoll-rdma-batch: epoll-rdma-batch.cc
	g++ --static -std=c++11 -O2 -o $@.ELF $< 

epoll-rdma: epoll-rdma.cc
	g++ --static -std=c++11 -O2 -o $@.ELF $< 

epool-echo: epoll-echo.cc
	g++ --static -std=c++11 -O2 -o $@.ELF $< 

boost-rdma: boost-rdma.cc
	g++ --static -std=c++11 -O2 -o $@.ELF $< -lpthread -lboost_system  

udp-sync: boost-udp-sync.cc
	g++ --static -std=c++11 -o $@.ELF $< -lpthread -lboost_system  

all:
	g++ --static -o pc-sender.ELF pc-sender.cc  -std=c++11 -lpthread -lboost_system 
	# g++ --static -o pc-sender.ELF pc-sender.cc  -std=c++11 -L/home/long/anaconda3/lib -lboost_system -I /home/long/anaconda3/include
	# g++ -o server.ELF server.cc  -std=c++20 -lpthread -lboost_system -I /home/long/anaconda3/include
	# g++ -o client.ELF client.cc  -std=c++20 -lpthread -lboost_system -I /home/long/anaconda3/include

run:
	./pc-sender.ELF 40000